package GUI;

import java.awt.Font;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;

public class ExaminationStage_GUI extends JPanel {
	
	private JButton btnCancel;
	private JButton btnSubmit;
	private JComboBox decision;
	private JButton btnViewEstimationReport;
	
	public ExaminationStage_GUI(){
		setLayout(null);
		
		JLabel lblDetermineStageDuration = DefaultComponentFactory.getInstance().createTitle("Examination stage");
		lblDetermineStageDuration.setIcon(new ImageIcon(DetermineStageDuration_GUI.class.getResource("/Picture/analysis-icon.png")));
		lblDetermineStageDuration.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblDetermineStageDuration.setBounds(20, 11, 344, 128);
		add(lblDetermineStageDuration);
		
		JLabel lblRequiredChange = new JLabel("Choose decision:");
		lblRequiredChange.setBounds(20, 333, 85, 30);
		add(lblRequiredChange);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setIcon(new ImageIcon(Login.class.getResource("/Picture/Button-Close-icon.png")));
		btnCancel.setBounds(28, 497, 141, 47);
		add(btnCancel);
		
		btnSubmit = new JButton("Submit");
		btnSubmit.setIcon(new ImageIcon(Login.class.getResource("/Picture/Ok-icon.png")));
		btnSubmit.setBounds(299, 497, 141, 47);
		add(btnSubmit);
		
		decision = new JComboBox();
		decision.setModel(new DefaultComboBoxModel(new String[] {"", "approved", "rejected", "more details"}));
		decision.setBounds(160, 333, 171, 30);
		add(decision);
		
		btnViewEstimationReport = new JButton("view estimation report");
		btnViewEstimationReport.setBounds(160, 213, 155, 40);
		add(btnViewEstimationReport);
	}

	public JButton getBtnViewEstimationReport() {
		return btnViewEstimationReport;
	}

	public void setBtnViewEstimationReport(JButton btnViewEstimationReport) {
		this.btnViewEstimationReport = btnViewEstimationReport;
	}

	public JButton getBtnCancel() {
		return btnCancel;
	}

	public void setBtnCancel(JButton btnCancel) {
		this.btnCancel = btnCancel;
	}

	public JButton getBtnSubmit() {
		return btnSubmit;
	}

	public void setBtnSubmit(JButton btnSubmit) {
		this.btnSubmit = btnSubmit;
	}

	public JComboBox getDecision() {
		return decision;
	}

	public void setDecision(JComboBox decision) {
		this.decision = decision;
	}
}
